<!DOCTYPE html>
<html lang="zh">
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta http-equiv="X-UA-Compatible" content="ie=edge">
		<title>机构端</title>
        <script src="/Public/static/jquery-2.0.3.min.js"></script>
        <script src="/Public/static/layer/layer.js"></script>
        <link rel="stylesheet" href="__PUBLIC__/Home/css/reset.css">
        <link rel="stylesheet" href="__PUBLIC__/Home/css/style.css">
        <link rel="stylesheet" href="__PUBLIC__/Home/css/page.css" />
	</head>

	<body class="agency_box contentBox pos_rel dpflxr">
		<include file="head" />

		<!-- 2.垂直导航 -->
		<div class="navColumn">
			<a href="{:U('Mechanism/index')}" <if condition="$cur eq '信息设置'">class="navColumnItem actived dpflxr pos_rel"<else/>class="navColumnItem dpflxr pos_rel"</if> data-type='1'>
				<div class="lineColumn pos_abs"></div>
				<label for="">信息设置</label>
				<div class="rightArrow">
				</div>
			</a>
			<a href="{:U('Mechanism/department_manage')}" <if condition="$cur eq '部门管理'">class="navColumnItem actived dpflxr pos_rel"<else/>class="navColumnItem dpflxr pos_rel"</if> data-type='2'>
				<div class="lineColumn pos_abs"></div>
				<label for="">部门管理</label>
				<div class="rightArrow">
				</div>
			</a>
			<a href="{:U('Mechanism/staff')}" <if condition="$cur eq '员工管理'">class="navColumnItem actived dpflxr pos_rel"<else/>class="navColumnItem dpflxr pos_rel"</if> data-type='3'>
				<div class="lineColumn pos_abs"></div>
				<label for="">员工管理</label>
				<div class="rightArrow">
				</div>
			</a>
			<a href="{:U('Mechanism/role_manage')}" <if condition="$cur eq '权限管理'">class="navColumnItem actived dpflxr pos_rel"<else/>class="navColumnItem dpflxr pos_rel"</if> data-type='4'>
				<div class="lineColumn pos_abs"></div>
				<label for="">权限管理</label>
				<div class="rightArrow">
				</div>
			</a>
			<a href="{:U('Mechanism/punch_record')}" <if condition="$cur eq '打卡记录'">class="navColumnItem actived dpflxr pos_rel"<else/>class="navColumnItem dpflxr pos_rel"</if> data-type='5'>
				<div class="lineColumn pos_abs"></div>
				<label for="">打卡记录</label>
				<div class="rightArrow">
				</div>
			</a>
		</div>





		<!-- 3.3 员工管理  -->
		<div class="contentArea tabPage actived">
			<!-- 3.3.1 员工管理 -->
			<div id="employeeManage">
				<div class="caTitleBox dpflxr">
					<label for="" class="caTitle">员工管理</label>
					<form action="" method="POST">
						<div class="dpflxr">
							<input type="text" class="searchBox" name="staff_name" value="{$staff_name}" placeholder="请输入员工姓名"/>
							<div><button type="submit"  class="caBtn searchBtn">查询</button></div>
							<!-- <a href="{:U('Mechanism/view_report')}" id="checkReport" class="caBtn report">查看汇报</a> -->
							<a href="{:U('Mechanism/staff_add')}" id="addEmployee" class="caBtn ">新增员工</a>
						</div>
					</form>
				</div>
				
				<div class="caTable card">
					<table border="0" width="100%">
							<tbody>
								<tr>
									<th scope="col" width="13%" style="border-top-left-radius: 6px;">员工姓名</th>
									<th scope="col" width="13%">手机号码</th>
									<th scope="col" width="11%">所属部门</th>
									<th scope="col" width="11%">角色</th>
									<th scope="col" width="11%">状态</th>
									<th scope="col" width="13%">注册时间</th>
									
									<th scope="col" width="28%" style="border-top-right-radius: 6px;box-sizing: border-box; padding-left: 8%;" >操作</th>
								</tr>
								<volist name="list" id="item">
								<tr>
									<td>{$item.staff_name}</td>
									<td>{$item.mobile}</td>
									<td >{$item.department_name}</td>
									<td>{$item.role}</td>
									<td>{$item.status}</td>
									
									<td>{$item.create_time}</td>
									
									<td style="box-sizing: border-box; padding-left: 8%;" ><a href="{:U('Mechanism/staff_add',array('id'=>$item['id']))}">编辑</a><a href="{:U('Mechanism/point_manage',array('id'=>$item['id']))}">积分管理</a><a href="{:U('Mechanism/staff_del',array('id'=>$item['id']))}">删除</a></td>
								</tr>	
								
								</volist>
							</tbody>
					</table>
				</div>
			<div class="page">
	            {$_page}
	        </div>
			</div>
		
			
					
			
		</div>
	
		
	
	</body>
</html>
